/*
 * Copyright (c) 2008, Xiong Yingfei, the University of Tokyo
 * All rights reserved.
 */
package ac.jp.u_tokyo.SyncLib.language.factories;

import ac.jp.u_tokyo.SyncLib.SetMembers;
import ac.jp.u_tokyo.SyncLib.Sync;
import ac.jp.u_tokyo.SyncLib.SyncFactory;
import ac.jp.u_tokyo.SyncLib.SetMembers.MembersTester;

public class SetMembersFactory implements SyncFactory
{
	private MembersTester _tester;
	private Object _defaultValues;

	public void setTester(Object tester)
	{
		_tester = (MembersTester) tester;
	}

	public void setDefaultValues(Object defaultValues)
	{
		_defaultValues = defaultValues;
	}

	public Sync create()
	{
		return new SetMembers(_tester, _defaultValues);
	}

}
